package model.pojo;

import java.io.Serializable;

public class Department implements Serializable{
	private static final long serialVersionUID = 1L;
	private int iddepartment = 0;
	private String departmentName = "";
	private String location = "";
	private String lang = "";
	private String description = "";

	public Department(int id, String name) {
		this.iddepartment = id;
		this.departmentName = name;
	}

	public Department(int iddepartment, String departmentName, String location,
			String lang, String description) {
		super();
		this.iddepartment = iddepartment;
		this.departmentName = departmentName;
		this.location = location;
		this.lang = lang;
		this.description = description;
	}

	public Department(Integer iddepartment, String departmentName,
			String location, String lang, String description) {
		super();
		this.iddepartment = iddepartment;
		this.departmentName = departmentName;
		this.location = location;
		this.lang = lang;
		this.description = description;
	}

	public Department() {
		departmentName = "unknown";
		location = "unknown";
		description = "unknown";
	}

	public Department(String departmentName, String location, String lang,
			String description) {
		this.departmentName = departmentName;
		this.location = location;
		this.lang = lang;
		this.description = description;
	}

	public int getIddepartment() {
		return iddepartment;
	}

	public void setIddepartment(int iddepartment) {
		this.iddepartment = iddepartment;
	}

	public String getDepartmentName() {
		return this.departmentName;
	}

	public void setDepartmentName(String departmentName) {
		this.departmentName = departmentName;
	}

	public String getLocation() {
		return this.location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public String getLang() {
		return this.lang;
	}

	public void setLang(String lang) {
		this.lang = lang;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	@Override
	public String toString() {
		return this.departmentName;
	}
}